package com.sky.service;

import com.sky.dto.*;
import com.sky.result.PageResult;
import com.sky.vo.OrderPaymentVO;
import com.sky.vo.OrderStatisticsVO;
import com.sky.vo.OrderSubmitVO;
import com.sky.vo.OrderVO;

import java.util.List;

public interface OrderService {
   OrderSubmitVO  getsubmit(OrdersSubmitDTO ordersSubmitDTO);

    PageResult page(OrdersPageQueryDTO ordersPageQueryDTO);


    OrderVO getDetail(Long id);

    void cancelId(Long id) throws Exception;

    OrderPaymentVO payment(OrdersPaymentDTO ordersPaymentDTO) throws Exception;

    void paySuccess(String outTradeNo);

     void save(Long id);

    OrderStatisticsVO statistics();

   void getconfirm(OrdersConfirmDTO ordersConfirmDTO);

   void rejection(OrdersRejectionDTO ordersRejectionDTO) throws Exception;

   void cancel(OrdersCancelDTO ordersCancelDTO) throws Exception;

   void getdelivery(Long id);

   void complete(Long id);

    PageResult pages(OrdersPageQueryDTO ordersPageQueryDTO);

    void reminder(Long id);
}
